﻿@model MMSWebsite.Models.Account
@{
    ViewBag.Title = "Log On";
    Layout = "~/Views/Shared/_LayoutPage.cshtml";

}
@using (Html.BeginForm("LogOn", "Account", new { account = this.Model, returnUrl = Request.QueryString["ReturnUrl"] }))
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Log On</legend>

        <div class="editor-field">
            User Name: @Html.EditorFor(model => model.Username)
            @Html.ValidationMessageFor(model => model.Username)
        </div>
        <br />
        <div class="editor-field">
            Password  : @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
        <br />
        <div class="editor-field" style="padding-left: 120px" >
                       @Html.CheckBoxFor(model => model.RememberMe) Remember Me
            @Html.ValidationMessageFor(model => model.RememberMe)
        </div>
        <br />
        <p style="padding-left: 5%">
            <input type="submit" value="Log On System" />
        </p>
    </fieldset>
}
